{strip} {assign var=is_friend value=$this->isfriend($user.id)}
{$this->getAlbumName($album_res['name'])} ({$pCount} {$this->lang['videos']})
{if !$is_friend && $user['private'] === 'yes' && $user['id'] !== $this->USER['id']} {include file=$this->private_profile_tpl} {else}
{if $this->USER['id'] === $user['id']}
{/if}
{$this->lang['your_old_pictures']}
{if $query != ''} {/if}
{/if}
{/strip}